﻿using System;
using System.Collections.Generic;
using TravianAutoQueue.BusinessServices.Interfaces;
using TravianAutoQueue.DomainModel.Entities;
using TravianAutoQueue.DomainModel.Repositories;
using TravianAutoQueue.DomainModel;

namespace TravianAutoQueue.BusinessServices
{
    public class BuildingService : IBuildingService 
    {
        private IBuildingRepository Repository{ get; set; }
        
        /// <summary>
        /// Constructor
        /// </summary>
        public  BuildingService()
        {
            Repository = new BuildingRepository();
        }

        #region IBuildingService Members

        //IBuilding ComputeCostAndTime(int id, int intlevel, int endlevel, int mainbuildinglevel, out DateTime time)
        //{
        //    IBuildingRepository repository = new BuildingRepository();
        //    IBuilding cost = repository.GetBuilding(id);
        //    time = new DateTime();

        //    //TODO: Implement computation of time

        //    return cost;
        //}

        List<IBuilding> IBuildingService.GetAllBuildings()
        {
            return null;
        }
        
        #endregion
    }
}
